package com.ruoyi.teacher.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 选项对象 t_option
 *
 * @author ruoyi
 * @date 2024-12-13
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TOption extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 问题ID
     */
    @Excel(name = "问题ID")
    private Long qId;

    /**
     * 章节ID
     */
    @Excel(name = "章节ID")
    private Long cpId;

    /**
     * 内容
     */
    @Excel(name = "内容")
    private String content;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String image;

    /**
     * 是否是答案
     */
    @Excel(name = "是否是答案")
    private Integer isAnswer;

    /**
     * 排序号
     */
    @Excel(name = "排序号")
    private Long orderNum;

    /**
     * abc序号
     */
    @Excel(name = "abc序号")
    private String abc;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer deleteStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    public Long getqId() {
        return qId;
    }

    public void setqId(Long qId) {
        this.qId = qId;
    }

    public Long getCpId() {
        return cpId;
    }

    public void setCpId(Long cpId) {
        this.cpId = cpId;
    }
}
